<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <style type="text/css">
        #myTable tr td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px;">
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="widget-header bg-themeprimary">
                <span class="widget-caption">相册设置</span>
            </div>
            <div class="widget-body">
                <div id="registration-form">
                    <form role="form">
                        <div class="form-title">相册列表</div>
                        <div class="row">
                            <div class="col-md-12">
                                <div class="buttons-preview" id="toobar">
                                    <a href="javascript:void(0);" onclick="doadd();" class="btn btn-azure">创建相册</a>
                                </div>
                                <table id="myTable"></table>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade bs-example-modal-lg" id="createPhotomodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="">相册设置</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered" role="form" id="form1">
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">${i18n('system.sortNo')}：</label>
                        <div class="col-sm-9">
                            <input type="number" class="form-control" name="sortNo" id="sortNo" placeholder="${i18n('system.sortNo')}"> <input type="hidden" class="form-control" name="netDiskId" id="netDiskId" placeholder="${i18n('system.sortNo')}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">相册名称：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="photoTitle" name="photoTitle" placeholder="相册名称" maxlength="50">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">服务器目录：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="rootPath" name="rootPath" placeholder="服务器目录" maxlength="150">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">用户权限：</label>
                        <div class="col-sm-9">
                            <input type="text" readonly="readonly" class="form-control" id="accessUser" name="accessUser" placeholder="用户权限" opt-id="accessUser" onclick="selectUser(this,'true');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">部门权限：</label>
                        <div class="col-sm-9">
                            <input type="text" readonly="readonly" class="form-control" id="accessDept" name="accessDept" placeholder="部门权限" opt-id="accessDept" onclick="selectDept(this,'true');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">行政级别权限：</label>
                        <div class="col-sm-9">
                            <input type="text" readonly="readonly" class="form-control" id="accessLevel" name="accessLevel" placeholder="行政级别权限" opt-id="accessLevel" onclick="selectUserLevel(this,'true');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">管理权限：</label>
                        <div class="col-sm-9">
                            <input type="text" readonly="readonly" class="form-control" id="manageUser" name="manageUser" placeholder="管理权限" opt-id="manageUser" onclick="selectUser(this,'false');">
                        </div>
                    </div>
                </form>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-save">${i18n('save')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>


<div class="modal fade bs-example-modal-lg" id="detailsmodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">相册详情</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered" role="form">
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">${i18n('system.sortNo')}：</label>
                        <div class="col-sm-9" id="d_sortNo" style="line-height: 34px">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">相册名称：</label>
                        <div class="col-sm-9" id="d_photoTitle" style="line-height: 34px">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">服务器目录：</label>
                        <div class="col-sm-9" id="d_rootPath" style="line-height: 34px">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">用户权限：</label>
                        <div class="col-sm-9" id="d_accessUser" style="line-height: 34px">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">部门权限：</label>
                        <div class="col-sm-9" id="d_accessDept" style="line-height: 34px">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">行政级别权限：</label>
                        <div class="col-sm-9" id="d_accessLevel" style="line-height: 34px">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">管理权限：</label>
                        <div class="col-sm-9" id="d_manageUser" style="line-height: 34px">
                        </div>
                    </div>
                </form>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('system.close')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script src="/module/bootstrap-table/bootstrap-table.js"></script>
<script src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script src="/gobal/js/page/file/setphoto.js"></script>
</html>
